package com.gpframework.module.process.service;

import com.gpframework.module.process.domain.GpProcessProblemTrack;
import com.gpframework.module.process.domain.req.GpProcessProblemTrackUpdate;
import com.gpframework.module.process.domain.vo.GpProcessProblemTrackVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GpProcessProblemTrack
 * @Author gpframework
 * @Date 2023-12-20
 * @Version 1.0.0
 * @Description 加工问题跟踪Service接口
 */
public interface IGpProcessProblemTrackService extends IService<GpProcessProblemTrack> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2023-12-20
     * @Param [lqw]
     * @Return List<GpProcessProblemTrackVo>
     */
    List<GpProcessProblemTrackVo> listVo(QueryWrapper<GpProcessProblemTrack> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2023-12-20
     * @Param [id]
     * @Return GpProcessProblemTrackVo
     */
    GpProcessProblemTrackVo getVoById(Long id);

    boolean copy(Long id, Integer copyNum);

    boolean editBatch(List<GpProcessProblemTrackUpdate> updateList);

}
